{% load i18n %}
<h1>{% trans "Login" %}</h1>
{% if form.errors %}
<div class="errmsg">{% trans "Your username and password didn't match. Please try again." %}</div>
{% endif %}
<form method="post" action="">
  <div class="content">
    <table>
      <tr><td><label for="id_username">{% trans "Username" %}:</label></td><td>{{ form.username }}</td></tr>
      <tr><td><label for="id_password">{% trans "Password" %}:</label></td><td>{{ form.password }}</td></tr>
    </table>
    <div style="text-align:center;"><input type="submit" value="{% trans "Login" %}"/></div>
    <input type="hidden" name="next" value="{{ next }}" />
  </div>
</form>
<h2>{% trans "New user" %}</h2>
<div>
    {% trans "You can" %} <a href="/accounts/register"><b>{% trans "register" %}</b></a> .
</div>

